home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
animTests
/
bezier_position_box.s3d
< prev
next >
Wrap
Text File
|
2000-06-17
|
4KB
|
120 lines
Background {
color 0 0 0
}
DEF world-TIMER TimeSensor {
loop TRUE
cycleInterval 3.333
}
DEF Box01 Transform {
translation -100 0 100
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.6039 0.6039 0.898
}
}
]
geometry MultiMesh {
coord DEF Box01-COORD Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1 5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
]
}
}
DEF Box01-BEZPOS-INTERP BezierVecInterpolator {
key [
0 0.5 1
]
keyValue [
-100 0 100 -133.3 0 0.04793 -133.3 0 -66.68 -100 0 -100
-100 0 -100 -66.69 0 -133.3 -0.008312 0 -133.3 100 0 -100
]
}
ROUTE world-TIMER.fraction_changed TO Box01-BEZPOS-INTERP.set_fraction
ROUTE Box01-BEZPOS-INTERP.value_changed TO Box01.set_translation
]
}
DEF Camera01 Viewpoint{
position 2.983 113.4 362.3
orientation 0.9614 -0.2725 -0.03926 -0.2975
fieldOfView 0.6024
description "Camera01"
}
DEF Camera01.Target Transform {
translation -28.44 0 -21.85
children [
]
}
DEF SampledBox01 Transform {
translation -100 0 100
children [
Shape {
appearance Appearance {
material Material {
emissiveColor 1 0 0
}
}
geometry IndexedLineSet {
coord DEF SampledBox01-COORD Coordinate {
point [
-15 0 15 15 0 15 -15 0 -15 15 0 -15 -15 30 15 15 30 15 -15 30 -15 15 30 -15
]
}
coordIndex [
0 2 3 -2 3 1 0 -2 4 5 7 -2 7 6 4 -2 0 1 5 -2 5 4 0 -2 1 3 7 -2 7 5 1 -2 3 2 6 -2 6 7 3 -2
2 0 4 -2 4 6 2 -2
]
}
}
DEF SampledBox01-POS-INTERP PositionInterpolator {
key [
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12 0.13 0.14 0.15 0.16 0.17
0.18 0.19 0.2 0.21 0.22 0.23 0.24 0.25 0.26 0.27 0.28 0.29 0.3 0.31 0.32 0.33 0.34
0.35 0.36 0.37 0.38 0.39 0.4 0.41 0.42 0.43 0.44 0.45 0.46 0.47 0.48 0.49 0.5 0.51
0.52 0.53 0.54 0.55 0.56 0.57 0.58 0.59 0.6 0.61 0.62 0.63 0.64 0.65 0.66 0.67 0.68
0.69 0.7 0.71 0.72 0.73 0.74 0.75 0.76 0.77 0.78 0.79 0.8 0.81 0.82 0.83 0.84 0.85
0.86 0.87 0.88 0.89 0.9 0.91 0.92 0.93 0.94 0.95 0.96 0.97 0.98 0.99 1
]
keyValue [
-100 0 100 -102 0 94.04
-103.8 0 88.16 -105.6 0 82.36 -107.4 0 76.64 -109 0 71 -110.6 0 65.44 -112 0 59.96
-113.4 0 54.56 -114.8 0 49.24 -116 0 44 -117.2 0 38.84 -118.2 0 33.76 -119.2 0 28.76
-120.2 0 23.84 -121 0 19 -121.8 0 14.24 -122.4 0 9.56 -123 0 4.96 -123.6 0 0.44 -124 0 -4
-124.4 0 -8.36 -124.6 0 -12.64 -124.8 0 -16.84 -125 0 -20.96 -125 0 -25 -125 0 -28.96
-124.8 0 -32.84 -124.6 0 -36.64 -124.4 0 -40.36 -124 0 -44 -123.6 0 -47.56 -123 0 -51.04
-122.4 0 -54.44 -121.8 0 -57.76 -121 0 -61 -120.2 0 -64.16 -119.2 0 -67.24 -118.2 0 -70.24
-117.2 0 -73.16 -116 0 -76 -114.8 0 -78.76 -113.4 0 -81.44 -112 0 -84.04 -110.6 0 -86.56
-109 0 -89 -107.4 0 -91.36 -105.6 0 -93.64 -103.8 0 -95.84 -102 0 -97.96 -100 0 -100
-97.96 0 -102 -95.84 0 -103.8 -93.64 0 -105.6 -91.36 0 -107.4 -89 0 -109 -86.56 0 -110.6
-84.04 0 -112 -81.44 0 -113.4 -78.76 0 -114.8 -76 0 -116 -73.16 0 -117.2 -70.24 0 -118.2
-67.24 0 -119.2 -64.16 0 -120.2 -61 0 -121 -57.76 0 -121.8 -54.44 0 -122.4 -51.04 0 -123
-47.56 0 -123.6 -44 0 -124 -40.36 0 -124.4 -36.64 0 -124.6 -32.84 0 -124.8 -28.96 0 -125
-25 0 -125 -20.96 0 -125 -16.84 0 -124.8 -12.64 0 -124.6 -8.36 0 -124.4 -4 0 -124
0.44 0 -123.6 4.96 0 -123 9.56 0 -122.4 14.24 0 -121.8 19 0 -121 23.84 0 -120.2 28.76 0 -119.2
33.76 0 -118.2 38.84 0 -117.2 44 0 -116 49.24 0 -114.8 54.56 0 -113.4 59.96 0 -112
65.44 0 -110.6 71 0 -109 76.64 0 -107.4 82.36 0 -105.6 88.16 0 -103.8 94.04 0 -102
100 0 -100
]
}
ROUTE world-TIMER.fraction_changed TO SampledBox01-POS-INTERP.set_fraction
ROUTE SampledBox01-POS-INTERP.value_changed TO SampledBox01.set_translation
]
}